package com.xuyiwei.mayi.service;

import com.xuyiwei.mayi.base.ResponseBase;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * Created by xuyiwei on 2019/5/5.
 */
@RequestMapping("/alibaba/callBack")
public interface PayCallBackService {
    // // 同步回调
    @RequestMapping("/synCallBackService")
    public ResponseBase synCallBack(@RequestParam Map<String, String> params);

    // // 异步回调
    @RequestMapping("/asynCallBackService")
    public String asynCallBack(@RequestParam Map<String, String> params ) throws Exception;

}
